<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend style="display: block">{$index+1}.{$label}</legend>
</fieldset>
<div class="layui-form">
    <table class="layui-table">
        <thead>
            <tr>
                <th></th>
                {foreach $list.th as $t}
                <?php list($key,$value)=explode(',',$t);?>
                <th data-value="{$value}">{$key}</th>
                {/foreach}
            </tr>
        </thead>
        <tbody>
        {foreach $list.td as $i=>$d}
            <tr>
                <td>{$d}</td>
                {foreach $list.th as $j=>$t}
                <td><input name="{$name}_{$i}"  title=" " value="{$d}|{$t}" type="radio"></td>
                {/foreach}
            </tr>
        {/foreach}
        </tbody>
    </table>
</div>